package java_class_work.week03.practice03;

public abstract class People {
    private String name;
    private int age;

    People(){

    }
    People(String name,int age){

    }
    //吃饭
    abstract void eat();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
